package com.techsoul.module.contract.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.techsoul.common.core.pojo.entity.DataEntity;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.techsoul.common.core.pojo.entity.TreeEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 合同明细对象 con_contract_item
 * 
 * @author liuen
 * @date 2022-08-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("con_contract_item")
public class ConContractItem extends TreeEntity {

    /**
     * 
     */
    private String itemNo;

    /**
     * ref t_con_contract
     */
    private String contractId;

    /**
     * 
     */
    private String contractNo;

    /**
     * 
     */
    private String companyNo;

    /**
     * 
     */
    private Long consigneeId;

    /**
     * 
     */
    private String consigneeName;

    /**
     * 
     */
    private String supplierNo;

    /**
     * 
     */
    private String supplierName;

    /**
     * 
     */
    private String materialNo;

    /**
     * 
     */
    private String materialNoSap;

    /**
     * 物料名称，sap物料名称，zt新增字段，冗余字段
     */
    private String materialName;

    /**
     * 
     */
    private BigDecimal qty;

    /**
     * 
     */
    private String measUnit;

    /**
     * 
     */
    private BigDecimal price;

    /**
     * 价格单位，zt新增字段，unit_price弃用，容易和价格单位混淆
     */
    private String priceUnit;

    /**
     * 
     */
    private BigDecimal amount;

    /**
     * 税率，zt新增字段
     */
    private BigDecimal taxRate;

    /**
     * 不含税单价，zt新增字段
     */
    private BigDecimal untaxedPrice;

    /**
     * 不含税总价，zt新增字段
     */
    private BigDecimal untaxedAmount;

    /**
     * 税额，zt新增字段
     */
    private BigDecimal taxAmount;

    /**
     * 
     */
    private String guige;

    /**
     * 皮重，zt新增字段
     */
    private BigDecimal tare;

    /**
     * 件数，zt新增字段
     */
    private Long piecesNo;

    /**
     * 
     */
    private String packing;

    /**
     * 
     */
    private String packUnit;

    /**
     * 
     */
    private String packQty;

    /**
     * 是否商检，zt新增字段
     */
    private String isInspection;

    /**
     * 是否产地证，zt新增字段
     */
    private String isPlaceCert;

    /**
     * 托盘要求，zt新增字段
     */
    private String palletNoteText;

    /**
     * 
     */
    private Date activeFrom;

    /**
     * 
     */
    private Date activeTo;

    /**
     * 
     */
    private Long version;

    /**
     * 
     */
    private String serviceMaterial;

    /**
     * 
     */
    private BigDecimal unitPrice;

    /**
     * 
     */
    private String partyName;

    /**
     * 
     */
    private String partyAddress;

    /**
     * 
     */
    private String purpose;

    /**
     * 
     */
    private String quality;

    /**
     * 
     */
    private String lineStatus;

    /**
     * 
     */
    private String parentStatus;

    /**
     * 
     */
    private String paymentTerms;

    /**
     * 
     */
    private BigDecimal discountSum;

    /**
     * 
     */
    private BigDecimal discountUnitPrice;

    /**
     * 
     */
    private BigDecimal discountRate;

    /**
     * 
     */
    private BigDecimal requite;

    /**
     * 
     */
    private Date dateLimit;

    /**
     * 
     */
    private String address;

    /**
     * 
     */
    private String type;

    /**
     * 
     */
    private String fellBackDuty;

    /**
     * 
     */
    private String solveDisputedMethod;

    /**
     * 
     */
    private String noteText;

    /**
     * 
     */
    private String supplierSite;

    /**
     * 
     */
    private Long discountNeedQty;

    /**
     * 
     */
    private Date estDeliveryDate;

    /**
     * 
     */
    private BigDecimal totPlanedQty;

    /**
     * 
     */
    private String settledBasedOn;

    /**
     * 
     */
    private String shipByPackOrqty;

    /**
     * 
     */
    private BigDecimal remainedQuantity;

    /**
     * 
     */
    private Date estDepartTm;

    /**
     * 
     */
    private BigDecimal shippedQty;

    /**
     * 
     */
    private Long serviceType;

    /**
     * 
     */
    private BigDecimal weight;

    /**
     * 
     */
    private String weightMeasUnit;

    /**
     * 
     */
    private BigDecimal volume;

    /**
     * 
     */
    private String volumeMeasUnit;

    /**
     * 
     */
    private BigDecimal palletQty;

    /**
     * 
     */
    private String dengji;

    /**
     * 
     */
    private String insuranceType;

    /**
     * 
     */
    private String insuranceFeeRate;

    /**
     * 
     */
    private Date insuranceExpectTime;

    /**
     * 
     */
    private String insuranceName;

    /**
     * 
     */
    private Long insuranceExpense;

    /**
     * 
     */
    private BigDecimal loadExpense;

    /**
     * 
     */
    private BigDecimal packingExpense;

    /**
     * 
     */
    private BigDecimal restExpense;

    /**
     * 
     */
    private Long paymentTerm;

    /**
     * 
     */
    private String paymentType;

    /**
     * 
     */
    private String cargoFreightType;

    /**
     * 
     */
    private String departure;

    /**
     * 
     */
    private String departureAddr;

    /**
     * 
     */
    private String destination;

    /**
     * 
     */
    private String destinationAddr;

    /**
     * 
     */
    private String insuranceCompany;

    /**
     * 
     */
    private String contractType;

    /**
     * 
     */
    private Long relatedContractItemNo;

    /**
     * 
     */
    private Long materialProductBuyPublishItemNo;

    /**
     * 
     */
    private Long materialProductSalePublishItemNo;

    /**
     * 创建时间
     */
    private Date createDate;

    /**
     * 更新时间
     */
    private Date updateDate;

}
